<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="format-detection" content="telephone=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="icon" href="/images/icons/favicon-16x16.png?v=2.6.2" type="image/png" sizes="16x16"><link rel="icon" href="/images/icons/favicon-32x32.png?v=2.6.2" type="image/png" sizes="32x32"><meta name="description" content="Cloud Infrastructure Mechanisms云基础设施机制">
<meta property="og:type" content="article">
<meta property="og:title" content="云计算第七章">
<meta property="og:url" content="https://kohler19.gitee.io/2022/03/31/cloud-computing5/index.html">
<meta property="og:site_name" content="愷龍的网络日志">
<meta property="og:description" content="Cloud Infrastructure Mechanisms云基础设施机制">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fcd727f86abb2a7a30a2.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fd0327f86abb2a7a7391.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fd1e27f86abb2a7a99e0.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fd4f27f86abb2a7ade69.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fd9327f86abb2a7b48c9.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fdb027f86abb2a7b783b.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fdc427f86abb2a7b9dff.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6244fea627f86abb2a7d1561.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6245006827f86abb2a7fb51e.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/624500a327f86abb2a801633.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/624500e627f86abb2a8084d9.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/6245012027f86abb2a80e5fd.jpg">
<meta property="og:image" content="https://pic.imgdb.cn/item/624501a627f86abb2a81bda5.jpg">
<meta property="og:image" content="https://s4.ax1x.com/2022/01/03/Tb8ZB4.png">
<meta property="article:published_time" content="2022-03-31T00:43:22.000Z">
<meta property="article:modified_time" content="2022-03-31T01:35:13.431Z">
<meta property="article:author" content="李恺龙">
<meta property="article:tag" content="云计算">
<meta property="article:tag" content="cloud-computing">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://pic.imgdb.cn/item/6244fcd727f86abb2a7a30a2.jpg"><title>云计算第七章 | 愷龍的网络日志</title><link ref="canonical" href="https://kohler19.gitee.io/2022/03/31/cloud-computing5/"><link rel="dns-prefetch" href="https://cdn.jsdelivr.net"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.12.1/css/all.min.css" type="text/css"><link rel="stylesheet" href="/css/index.css?v=2.6.2"><script>var Stun = window.Stun || {};
var CONFIG = {
  root: '/',
  algolia: undefined,
  assistSearch: undefined,
  fontIcon: {"prompt":{"success":"fas fa-check-circle","info":"fas fa-arrow-circle-right","warning":"fas fa-exclamation-circle","error":"fas fa-times-circle"},"copyBtn":"fas fa-copy"},
  sidebar: {"offsetTop":"20px","tocMaxDepth":6},
  header: {"enable":true,"showOnPost":true,"scrollDownIcon":false},
  postWidget: {"endText":true},
  nightMode: {"enable":true},
  back2top: {"enable":true},
  codeblock: {"style":"default","highlight":"light","wordWrap":false},
  reward: false,
  fancybox: false,
  zoomImage: {"gapAside":"20px"},
  galleryWaterfall: undefined,
  lazyload: false,
  pjax: undefined,
  externalLink: {"icon":{"enable":true,"name":"fas fa-external-link-alt"}},
  shortcuts: undefined,
  prompt: {"copyButton":"复制","copySuccess":"复制成功","copyError":"复制失败"},
  sourcePath: {"js":"js","css":"css","images":"images"},
};

window.CONFIG = CONFIG;</script><meta name="generator" content="Hexo 5.4.0"></head><body><div class="container" id="container"><header class="header" id="header"><div class="header-inner"><nav class="header-nav header-nav--fixed"><div class="header-nav-inner"><div class="header-nav-menubtn"><i class="fas fa-bars"></i></div><div class="header-nav-menu"><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/"><span class="header-nav-menu-item__icon"><i class="fas fa-home"></i></span><span class="header-nav-menu-item__text">首页</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/archives/"><span class="header-nav-menu-item__icon"><i class="fas fa-folder-open"></i></span><span class="header-nav-menu-item__text">归档</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/分类/"><span class="header-nav-menu-item__icon"><i class="fas fa-layer-group"></i></span><span class="header-nav-menu-item__text">分类</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/标签/"><span class="header-nav-menu-item__icon"><i class="fas fa-tags"></i></span><span class="header-nav-menu-item__text">标签</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/categories/Book/"><span class="header-nav-menu-item__icon"><i class="fas fa-book"></i></span><span class="header-nav-menu-item__text">书籍</span></a></div></div><div class="header-nav-search"><span class="header-nav-search__icon"><i class="fas fa-search"></i></span><span class="header-nav-search__text">搜索</span></div><div class="header-nav-mode"><div class="mode"><div class="mode-track"><span class="mode-track-moon"></span><span class="mode-track-sun"></span></div><div class="mode-thumb"></div></div></div></div></nav><div class="header-banner"><div class="header-banner-info"><div class="header-banner-info__title">愷龍的网络日志</div><div class="header-banner-info__subtitle">每天多学一点，以后就少敲一点代码</div></div></div></div></header><main class="main" id="main"><div class="main-inner"><div class="content-wrap" id="content-wrap"><div class="content" id="content"><!-- Just used to judge whether it is an article page--><div id="is-post"></div><div class="post"><header class="post-header"><h1 class="post-title">云计算第七章</h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2022-03-31</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2022-03-31</span></span></div></header><div class="post-body">
        <h1 id="Cloud-Infrastructure-Mechanisms云基础设施机制"   >
          <a href="#Cloud-Infrastructure-Mechanisms云基础设施机制" class="heading-link"><i class="fas fa-link"></i></a><a href="#Cloud-Infrastructure-Mechanisms云基础设施机制" class="headerlink" title="Cloud Infrastructure Mechanisms云基础设施机制"></a>Cloud Infrastructure Mechanisms云基础设施机制</h1>
      <span id="more"></span>

<p>The following cloud infrastructure mechanisms are described in this chapter:<br>   –Logical Network Perimeter 逻辑网络边界<br>   –Virtual Server                      虚拟服务器<br>   –Cloud Storage Device         云存储设备<br>   –Cloud Usage Monitor          云使用监控<br>   –Resource Replication           资源复制<br>   –Ready-Made Environment   已就绪环境<br>they should be viewed as core components that are common to cloud platforms.   </p>

        <h2 id="Logical-Network-Perimeter-逻辑网络边界"   >
          <a href="#Logical-Network-Perimeter-逻辑网络边界" class="heading-link"><i class="fas fa-link"></i></a><a href="#Logical-Network-Perimeter-逻辑网络边界" class="headerlink" title="Logical Network Perimeter           逻辑网络边界"></a>Logical Network Perimeter           逻辑网络边界</h2>
      <p>Defined as the isolation of ①a network environment from the rest of a communications network, ②the logical network perimeter establishes a virtual network boundary that can encompass and ③isolate a group of related cloud-based IT resources that may be physically distributed</p>
<p><em><font face="楷体">逻辑网络边界被定义为将一个网络环境与通信网络的其他部分隔离开来。（逻辑网络是指一个单独的网络或一个子网）<br>成一个虚拟网络边界,包含并隔离了一组相关的基于云的IT资源（物理上可能是分布式的）<br></font></em></p>
<p>This mechanism can be implemented to:</p>
<blockquote>
<p>1.isolate IT resources in a cloud from non-authorized users<br>     与非授权用户隔离<br>2.isolate IT resources in a cloud from non-users<br>     与非用户隔离<br>3.isolate IT resources in a cloud from cloud consumers<br>    与云用户隔离<br>4.control the bandwidth that is available to isolated IT resources<br>    控制被隔离IT资源的可用带宽（从 通讯路径角度）  </p>
</blockquote>
<p>Logical network perimeters are typically established via network devices that supply and control the connectivity of a data center<br><em><font face="楷体">通常由提供和控制数据中心连接的网络设备来建立。</font><em></p>
<p>commonly deployed as virtualized IT environments that include:</p>
<blockquote>
<p>Virtual Firewall(虚拟防火墙) – An IT resource that actively filters (过滤)network traffic to and from the isolated network while controlling its interactions with the Internet.<br>        可以主动过滤被隔离网络的网络流量，并控制其与Internet的交互<br>Virtual Network (虚拟网络)  – Usually acquired（形成） through VLANs, this IT resource isolates the network environment within the data center infrastructure.<br>       用来隔离数据中心基础设施内的网络环境</p>
</blockquote>
<center>
<img src="https://pic.imgdb.cn/item/6244fcd727f86abb2a7a30a2.jpg">
</center>
<center>
<font face="楷体">the boundary of a logical network perimeter</font>
</center>
<center>
<img src="https://pic.imgdb.cn/item/6244fd0327f86abb2a7a7391.jpg">
</center>
<center>
<font face="楷体">a virtual firewall </font>
</center>

<center>
<img src="https://pic.imgdb.cn/item/6244fd1e27f86abb2a7a99e0.jpg">
</center>
<center>
<font face="楷体">a virtual network </font>
</center>
<center>
<img src="https://pic.imgdb.cn/item/6244fd4f27f86abb2a7ade69.jpg">
</center>


        <h2 id="Virtual-Server-虚拟服务器"   >
          <a href="#Virtual-Server-虚拟服务器" class="heading-link"><i class="fas fa-link"></i></a><a href="#Virtual-Server-虚拟服务器" class="headerlink" title="Virtual Server  虚拟服务器"></a>Virtual Server  虚拟服务器</h2>
      <p>A virtual server is a form of virtualization software that emulates a physical server.<br>虚拟服务器是一种模拟物理服务器的虚拟化软件。<br>As a commodity mechanism, the virtual server represents the most foundational building block of cloud environments. Each virtual server can host numerous IT resources, cloud-based solutions, and various other cloud computing mechanisms.<br>The number of instances a given physical server can share is limited by its capacity.   </p>
<center>
<img src="https://pic.imgdb.cn/item/6244fd9327f86abb2a7b48c9.jpg">
</center>
Cloud consumers that install or lease virtual servers can customize their environments independently from other cloud consumers.     云用户可以定制自己的环境   
<center>
<img src="https://pic.imgdb.cn/item/6244fdb027f86abb2a7b783b.jpg">
</center>

<center>
<img src="https://pic.imgdb.cn/item/6244fdc427f86abb2a7b9dff.jpg">
</center>
<center>
<font face="楷体">Virtual servers are created via the physical servers’ hypervisors and a central VIM.</font>
</center>


        <h2 id="Cloud-Storage-Device-云存储设备"   >
          <a href="#Cloud-Storage-Device-云存储设备" class="heading-link"><i class="fas fa-link"></i></a><a href="#Cloud-Storage-Device-云存储设备" class="headerlink" title="Cloud Storage Device 云存储设备"></a>Cloud Storage Device 云存储设备</h2>
      <p>The cloud storage device mechanism<br>represents storage devices that are designed specifically for cloud-based provisioning.<br>云存储机制是指专门为基于云配置所设计的存储设备</p>
<blockquote>
<p>1.Instances of these devices can be virtualized<br>可以被虚拟化<br>2.Cloud storage devices can be exposed for remote access via cloud storage services.通过云存储服务可以远程访问云存储设备<br>3.A primary concern related to cloud storage is the security, integrity, and confidentiality of data<br>4.LANs provide locally stored data with network reliability and latency levels that are superior to those of WANs.</p>
</blockquote>
<ul>
<li>Cloud storage device mechanisms provide common logical units of data storage, such as:  </li>
<li>Cloud Storage Levels 云存储等级  </li>
<li>Network Storage Interfaces 网络存储接口  </li>
<li>Object Storage Interfaces  对象存储接口  </li>
<li>Database Storage Interfaces 数据库存储接口  </li>
</ul>

        <h3 id="Cloud-Storage-Levels-云存储等级"   >
          <a href="#Cloud-Storage-Levels-云存储等级" class="heading-link"><i class="fas fa-link"></i></a><a href="#Cloud-Storage-Levels-云存储等级" class="headerlink" title="Cloud Storage Levels 云存储等级"></a>Cloud Storage Levels 云存储等级</h3>
      <p>Cloud storage device mechanisms provide common logical units of data storage:常见的数据存储逻辑单元  </p>
<blockquote>
<p>.Files (文件)– Collections of data are grouped into files that are located in folders.<br>2.Blocks(块) – The lowest level of storage and the closest to the hardware, a block is the smallest unit of data that is still individually accessible.<br>3.Datasets(数据集) – Sets of data are organized into a table-based, delimited, or record format.<br>4.Objects(对象) – Data and its associated metadata(元数据) are organized as Web-based resources.  </p>
</blockquote>
<p>Each of these data storage levels is commonly associated with a certain type of technical interface which corresponds to a particular type of cloud storage device and cloud storage service used to expose its API<br><em>每个数据存储等级通常都与某种类型的技术接口相关联，这个技术接口不仅与特定的云存储设备对应，还与显示其API的云存储服务对应。</em></p>
<center>
<img src="https://pic.imgdb.cn/item/6244fea627f86abb2a7d1561.jpg">
</center>
<center>
<font face="楷体">Different cloud service consumers utilize different technologies to interface with virtualized cloud storage devices.</font>
</center>


        <h3 id="Network-Storage-Interfaces-网络存储接口"   >
          <a href="#Network-Storage-Interfaces-网络存储接口" class="heading-link"><i class="fas fa-link"></i></a><a href="#Network-Storage-Interfaces-网络存储接口" class="headerlink" title="Network Storage Interfaces 网络存储接口"></a>Network Storage Interfaces 网络存储接口</h3>
      <p> Legacy(传统) network storage most commonly falls under the category of network storage interfaces. It includes storage devices in compliance（遵守）with industry standard protocols.  </p>
<blockquote>
<p>1.SCSI – storage blocks and the server message block (SMB),<br>2.common Internet file system (CIFS) –用于网络设备间文件共享<br>3.network file system (NFS)– for file and network storage.网络上与他人共享目录和文件   </p>
</blockquote>

        <h3 id="Object-Storage-Interfaces-对象存储接口"   >
          <a href="#Object-Storage-Interfaces-对象存储接口" class="heading-link"><i class="fas fa-link"></i></a><a href="#Object-Storage-Interfaces-对象存储接口" class="headerlink" title="Object Storage Interfaces  对象存储接口"></a>Object Storage Interfaces  对象存储接口</h3>
      <p>object storage—Various types of data can be referenced and stored as① Web resources. which is ②based on technologies that can support a range of data and media types.   </p>
<blockquote>
<ul>
<li>Object Storage Interfaces can is typically be accessed via REST or Web service-based cloud services using HTTP as the prime protocol.<br>通常可以通过以HTTP为主要协议的REST或者基于Web服务的云服务来访问</li>
</ul>
</blockquote>
<blockquote>
<ul>
<li>The Storage Networking Industry Association’s Cloud Data Management Interface (SNIA’s CDMI) supports the use of object storage interfaces.</li>
</ul>
</blockquote>

        <h3 id="Database-Storage-Interfaces-数据库存储接口"   >
          <a href="#Database-Storage-Interfaces-数据库存储接口" class="heading-link"><i class="fas fa-link"></i></a><a href="#Database-Storage-Interfaces-数据库存储接口" class="headerlink" title="Database Storage Interfaces 数据库存储接口"></a>Database Storage Interfaces 数据库存储接口</h3>
      <p>Cloud storage device mechanisms based on database storage interfaces typically support a query language in addition to basic storage operations.<br>除了支持基本存储操作外，通常还支持查询语言</p>
<ol>
<li><p>Storage management is carried out using ①a standard API or ②an administrative user-interface.<br>通过标准API或管理用户接口来实现存储管理</p>
</li>
<li><p>This classification of storage interface is divided into two main categories according to storage structure:   </p>
<blockquote>
<p>Relational Data Storage   关系数据存储<br>Non-Relational Data Storage 非关系数据存储</p>
</blockquote>
</li>
</ol>
<p>1.Relational Data Storage 关系数据存储  </p>
<ul>
<li><p>Relational databases (or relational storage devices) rely on tables to organize similar data into rows and columns.<br>关系数据库依靠表格，将相似的数据组织为行列形式</p>
</li>
<li><p>Working with relational storage commonly involves the use of the industry standard Structured Query Language (SQL).<br>通常也要用到工业标准结构化查询语言SQL</p>
</li>
<li><p>A cloud storage device mechanism implemented using relational data storage could be based on any number of commercially available database products, such as IBM DB2, Oracle Database, Microsoft SQL Server, and MySQL.<br>可以以许多可用的商业数据库产品为基础</p>
</li>
<li><p>Challenges with cloud-based relational databases commonly pertain to scaling and performance.<br>基于云的关系数据库的挑战主要来自扩展和性能</p>
</li>
</ul>
<p>2.Non-Relational Data Storage 非关系数据存储  </p>
<ul>
<li>Non-relational storage  (also commonly referred to as NoSQL storage)</li>
</ul>
<blockquote>
<p>it establishes a “looser” structure for stored data with less emphasis on defining relationships and realizing data normalization (数据规范).  </p>
</blockquote>
<blockquote>
<p>The primary motivation for using non-relational storage is to avoid the potential complexity（复杂性）and processing overhead(负担) that can be imposed by relational databases.   </p>
</blockquote>
<blockquote>
<p>non-relational storage can be more horizontally scalable than relational storage.  </p>
</blockquote>
<ul>
<li>However, many non-relational storage mechanisms are proprietary(专有的) and therefore can severely limit data portability（可移植性）.</li>
</ul>

        <h2 id="Cloud-Usage-Monitor-云使用监控"   >
          <a href="#Cloud-Usage-Monitor-云使用监控" class="heading-link"><i class="fas fa-link"></i></a><a href="#Cloud-Usage-Monitor-云使用监控" class="headerlink" title="Cloud Usage Monitor  云使用监控"></a>Cloud Usage Monitor  云使用监控</h2>
      <ul>
<li><p>The cloud usage monitor mechanism is a lightweight and autonomous（自治的）software program responsible for collecting and processing IT resource usage data.   </p>
</li>
<li><p>Three common agent-based implementation formats:  </p>
<blockquote>
<p>Monitoring Agent  监控代理<br>Resource Agent  资源代理<br>Polling Agent  轮询代理  </p>
</blockquote>
</li>
</ul>

        <h3 id="Monitoring-Agent-监控代理"   >
          <a href="#Monitoring-Agent-监控代理" class="heading-link"><i class="fas fa-link"></i></a><a href="#Monitoring-Agent-监控代理" class="headerlink" title="Monitoring Agent  监控代理"></a>Monitoring Agent  监控代理</h3>
      <ul>
<li>A monitoring agent is an intermediary, event-driven program that exists as a service agent and resides along existing communication paths to transparently monitor and analyze dataflows . </li>
</ul>
<p>一个中间的事件驱动程序，它作为服务代理驻留在已有通信路径上，对数据流进行透明的监控和分析。</p>
<blockquote>
<p>This type of cloud usage monitor is commonly used to measure network traffic and message metrics(指标)</p>
</blockquote>
<p>A cloud service consumer sends a request message to a cloud service (1).<br>The monitoring agent intercepts the message to collect relevant usage data (2) before allowing it to continue to the cloud service (3a). The monitoring agent stores the collected usage data in a log database (3b). The cloud service replies with a response message (4) that is sent back to the cloud service consumer without being intercepted by the monitoring agent (5).   </p>
<center>
<img src="https://pic.imgdb.cn/item/6245006827f86abb2a7fb51e.jpg">
</center>


        <h3 id="Resource-Agent-资源代理"   >
          <a href="#Resource-Agent-资源代理" class="heading-link"><i class="fas fa-link"></i></a><a href="#Resource-Agent-资源代理" class="headerlink" title="Resource Agent  资源代理"></a>Resource Agent  资源代理</h3>
      <ul>
<li>A resource agent is a processing module that collects usage data by having event-driven interactions with specialized resource software.<br>资源代理是一种处理模块，通过与专门的资源软件进行事件驱动的交互来收集使用数据。</li>
</ul>
<blockquote>
<p>This module is used to monitor usage metrics based on pre-defined, observable events at the resource software level, such as initiating, suspending, resuming, and vertical scaling.<br>它在资源软件级上，监控预定义的且可观测事件的使用指标，比如：启动、暂停、恢复和垂直扩展。</p>
</blockquote>
<p>The resource agent is actively monitoring a virtual server and detects an increase in usage (1). The resource agent receives a notification from the underlying resource management program that the virtual server is being scaled up and stores the collected usage data in a log database, as per its monitoring metrics (2).   </p>
<center>
<img src="https://pic.imgdb.cn/item/624500a327f86abb2a801633.jpg">
</center>


        <h3 id="Polling-Agent-轮询代理"   >
          <a href="#Polling-Agent-轮询代理" class="heading-link"><i class="fas fa-link"></i></a><a href="#Polling-Agent-轮询代理" class="headerlink" title="Polling Agent  轮询代理"></a>Polling Agent  轮询代理</h3>
      <ul>
<li>A polling agent is a processing module that collects cloud service usage data by polling IT resources.<br>一种处理模块，通过轮询IT资源来收集云服务使用数据。</li>
</ul>
<blockquote>
<p>This type of cloud service monitor is commonly used to periodically monitor IT resource status, such as uptime and downtime .<br>它通常被用于周期性地监控IT资源状态，比如正常运行时间与停机时间。</p>
</blockquote>
<p>A polling agent monitors the status of a cloud service hosted by a virtual server by sending periodic polling request messages and receiving polling response messages that report usage status “A” after a number of polling cycles, until it receives a usage status of “B” (1), upon which the polling agent records the new usage status in the log database (2).  </p>
<center>
<img src="https://pic.imgdb.cn/item/624500e627f86abb2a8084d9.jpg">
</center>


        <h2 id="Resource-Replication-资源复制"   >
          <a href="#Resource-Replication-资源复制" class="heading-link"><i class="fas fa-link"></i></a><a href="#Resource-Replication-资源复制" class="headerlink" title="Resource Replication  资源复制"></a>Resource Replication  资源复制</h2>
      <ul>
<li>Defined as the creation of multiple instances of the same IT resource, resource replication is typically performed when an IT resource’s availability and performance need to be enhanced. </li>
</ul>
<p>被定义为对同一个IT资源创建多个实例。通常在需要加强IT资源的可用性和性能时执行。</p>
<blockquote>
<p>Virtualization technology is used to implement the resource replication mechanism to replicate(复制 ) cloud-based IT resources . </p>
</blockquote>
<center>
<img src="https://pic.imgdb.cn/item/6245012027f86abb2a80e5fd.jpg">
</center>
<center>
<font face="楷体">The hypervisor replicates several instances of a virtual server, using a stored virtual server image.
</font>
</center>


        <h2 id="Ready-Made-Environment-已就绪环境"   >
          <a href="#Ready-Made-Environment-已就绪环境" class="heading-link"><i class="fas fa-link"></i></a><a href="#Ready-Made-Environment-已就绪环境" class="headerlink" title="Ready-Made Environment   已就绪环境"></a>Ready-Made Environment   已就绪环境</h2>
      <ul>
<li>The ready-made environment mechanism is a defining component of the ①PaaS cloud delivery model that represents a ②pre-defined, cloud-based platform comprised of a set of already installed IT resources, ready to ③be used and customized by a cloud consumer.<br>已就绪环境机制是PaaS云交付模型的定义组件,它表示的是预定义的基于云的平台，该平台由一组已安装的IT资源组成，可以被云用户使用和定制。<blockquote>
<p>These environments are utilized by cloud consumers to remotely develop and deploy their own services and applications within a cloud. </p>
</blockquote>
</li>
</ul>
<center>
<img src="https://pic.imgdb.cn/item/624501a627f86abb2a81bda5.jpg">
</center>
<center>
<font face="楷体">A cloud consumer accesses a ready-made environment hosted on a virtual server.
</font>
</center>
    
<ul>
<li><p>Typical ready-made environments include pre-installed IT resources, such as databases, middleware, development tools, and governance tools.<br>典型的已就绪环境包括预安装的IT资源，如数据库、中间件、开发工具和管理工具。</p>
</li>
<li><p>A ready-made environment is generally equipped with a complete software development kit (SDK)<br>已就绪环境通常配备一套完整的软件开发工具包。</p>
</li>
<li><p>Middleware is available for multitenant platforms to support the development and deployment of Web applications.<br>中间件用于多租户平台，支持开发和部署Web应用程序。</p>
</li>
</ul>

        <h2 id="summry"   >
          <a href="#summry" class="heading-link"><i class="fas fa-link"></i></a><a href="#summry" class="headerlink" title="summry"></a>summry</h2>
      <ul>
<li>Logical Network Perimeter 逻辑网络边界  </li>
<li>Virtual Server                      虚拟服务器  </li>
<li>Cloud Storage Device         云存储设备  </li>
<li>Cloud Usage Monitor          云使用监控  </li>
<li>Resource Replication           资源复制  </li>
<li>Ready-Made Environment   已就绪环境  </li>
<li>Cloud Storage Levels 云存储等级  </li>
<li>Network Storage Interfaces 网络存储接口  </li>
<li>Object Storage Interfaces  对象存储接口  </li>
<li>Database Storage Interfaces数据库存储接口  </li>
<li>Monitoring Agent  监控代理  </li>
<li>Resource Agent  资源代理  </li>
<li>Polling Agent  轮询代理  </li>
</ul>
<center>如果您有什么问题或建议可以在下方的评论区评论，我会及时回复的。<center>
<center><font color="red">欢迎关注我的公众号，共同学习，共同提升！</font></center>
<center><font color="red">您可以通过公众号向我留言，也可以通过邮箱（lklong@88.com）联系我</font></center>
<center>
    <img src="https://s4.ax1x.com/2022/01/03/Tb8ZB4.png">
</center></div><footer class="post-footer"><div class="post-ending ending"><div class="ending__text">------ 本文结束，感谢您的阅读 ------</div></div><div class="post-copyright copyright"><div class="copyright-author"><span class="copyright-author__name">本文作者: </span><span class="copyright-author__value"><a href="https://kohler19.gitee.io">李恺龙</a></span></div><div class="copyright-link"><span class="copyright-link__name">本文链接: </span><span class="copyright-link__value"><a href="https://kohler19.gitee.io/2022/03/31/cloud-computing5/">https://kohler19.gitee.io/2022/03/31/cloud-computing5/</a></span></div><div class="copyright-notice"><span class="copyright-notice__name">版权声明: </span><span class="copyright-notice__value">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en" rel="external nofollow" target="_blank">BY-NC-SA</a> 许可协议。转载请注明出处！</span></div></div><div class="post-tags"><span class="post-tags-item"><span class="post-tags-item__icon"><i class="fas fa-tag"></i></span><a class="post-tags-item__link" href="https://kohler19.gitee.io/tags/%E4%BA%91%E8%AE%A1%E7%AE%97/">云计算</a></span><span class="post-tags-item"><span class="post-tags-item__icon"><i class="fas fa-tag"></i></span><a class="post-tags-item__link" href="https://kohler19.gitee.io/tags/cloud-computing/">cloud-computing</a></span></div><nav class="post-paginator paginator"><div class="paginator-prev"><a class="paginator-prev__link" href="/2022/04/02/java-Thread/"><span class="paginator-prev__icon"><i class="fas fa-angle-left"></i></span><span class="paginator-prev__text">java-Thread</span></a></div><div class="paginator-next"><a class="paginator-next__link" href="/2022/03/25/cloud-computing4/"><span class="paginator-prev__text">云计算第六章</span><span class="paginator-next__icon"><i class="fas fa-angle-right"></i></span></a></div></nav></footer></div></div><div class="comments" id="comments"><div id="valine-container"></div></div></div><div class="sidebar-wrap" id="sidebar-wrap"><aside class="sidebar" id="sidebar"><div class="sidebar-nav"><span class="sidebar-nav-toc current">文章目录</span><span class="sidebar-nav-ov">站点概览</span></div><section class="sidebar-toc"><ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#Cloud-Infrastructure-Mechanisms%E4%BA%91%E5%9F%BA%E7%A1%80%E8%AE%BE%E6%96%BD%E6%9C%BA%E5%88%B6"><span class="toc-number">1.</span> <span class="toc-text">
          Cloud Infrastructure Mechanisms云基础设施机制</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#Logical-Network-Perimeter-%E9%80%BB%E8%BE%91%E7%BD%91%E7%BB%9C%E8%BE%B9%E7%95%8C"><span class="toc-number">1.1.</span> <span class="toc-text">
          Logical Network Perimeter           逻辑网络边界</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Virtual-Server-%E8%99%9A%E6%8B%9F%E6%9C%8D%E5%8A%A1%E5%99%A8"><span class="toc-number">1.2.</span> <span class="toc-text">
          Virtual Server  虚拟服务器</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Cloud-Storage-Device-%E4%BA%91%E5%AD%98%E5%82%A8%E8%AE%BE%E5%A4%87"><span class="toc-number">1.3.</span> <span class="toc-text">
          Cloud Storage Device 云存储设备</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Cloud-Storage-Levels-%E4%BA%91%E5%AD%98%E5%82%A8%E7%AD%89%E7%BA%A7"><span class="toc-number">1.3.1.</span> <span class="toc-text">
          Cloud Storage Levels 云存储等级</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Network-Storage-Interfaces-%E7%BD%91%E7%BB%9C%E5%AD%98%E5%82%A8%E6%8E%A5%E5%8F%A3"><span class="toc-number">1.3.2.</span> <span class="toc-text">
          Network Storage Interfaces 网络存储接口</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Object-Storage-Interfaces-%E5%AF%B9%E8%B1%A1%E5%AD%98%E5%82%A8%E6%8E%A5%E5%8F%A3"><span class="toc-number">1.3.3.</span> <span class="toc-text">
          Object Storage Interfaces  对象存储接口</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Database-Storage-Interfaces-%E6%95%B0%E6%8D%AE%E5%BA%93%E5%AD%98%E5%82%A8%E6%8E%A5%E5%8F%A3"><span class="toc-number">1.3.4.</span> <span class="toc-text">
          Database Storage Interfaces 数据库存储接口</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Cloud-Usage-Monitor-%E4%BA%91%E4%BD%BF%E7%94%A8%E7%9B%91%E6%8E%A7"><span class="toc-number">1.4.</span> <span class="toc-text">
          Cloud Usage Monitor  云使用监控</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#Monitoring-Agent-%E7%9B%91%E6%8E%A7%E4%BB%A3%E7%90%86"><span class="toc-number">1.4.1.</span> <span class="toc-text">
          Monitoring Agent  监控代理</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Resource-Agent-%E8%B5%84%E6%BA%90%E4%BB%A3%E7%90%86"><span class="toc-number">1.4.2.</span> <span class="toc-text">
          Resource Agent  资源代理</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Polling-Agent-%E8%BD%AE%E8%AF%A2%E4%BB%A3%E7%90%86"><span class="toc-number">1.4.3.</span> <span class="toc-text">
          Polling Agent  轮询代理</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Resource-Replication-%E8%B5%84%E6%BA%90%E5%A4%8D%E5%88%B6"><span class="toc-number">1.5.</span> <span class="toc-text">
          Resource Replication  资源复制</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Ready-Made-Environment-%E5%B7%B2%E5%B0%B1%E7%BB%AA%E7%8E%AF%E5%A2%83"><span class="toc-number">1.6.</span> <span class="toc-text">
          Ready-Made Environment   已就绪环境</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#summry"><span class="toc-number">1.7.</span> <span class="toc-text">
          summry</span></a></li></ol></li></ol></section><!-- ov = overview--><section class="sidebar-ov hide"><div class="sidebar-ov-author"><div class="sidebar-ov-author__avatar"><img class="sidebar-ov-author__avatar_img" src="https://s4.ax1x.com/2022/01/03/Tb2VW6.png" alt="avatar"></div><p class="sidebar-ov-author__text">格物致知，知行合一</p></div><div class="sidebar-ov-social"><a class="sidebar-ov-social-item" href="https://s4.ax1x.com/2022/01/03/Tb8ZB4.png" target="_blank" rel="noopener" data-popover="微信" data-popover-pos="up"><span class="sidebar-ov-social-item__icon"><i class="fab fa-weixin"></i></span></a><a class="sidebar-ov-social-item" href="mailto:lklong@88.com" target="_blank" rel="noopener" data-popover="social.Email" data-popover-pos="up"><span class="sidebar-ov-social-item__icon">lklong@88.com</span></a></div><div class="sidebar-ov-cc"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en" target="_blank" rel="noopener" data-popover="知识共享许可协议" data-popover-pos="up"><img src="/images/cc-by-nc-sa.svg"></a></div></section><div class="sidebar-reading"><div class="sidebar-reading-info"><span class="sidebar-reading-info__text">你已阅读了 </span><span class="sidebar-reading-info__num">0</span><span class="sidebar-reading-info__perc">%</span></div><div class="sidebar-reading-line"></div></div></aside></div><div class="clearfix"></div></div></main><footer class="footer" id="footer"><div class="footer-inner"><div><span>Copyright © 2023</span><span class="footer__icon"><i class="fas fa-heart"></i></span><span>愷龍 All Rights Reserved</span></div><div><span>由 <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a> 强力驱动</span><span> v5.4.0</span><span class="footer__devider">|</span><span>主题 - <a href="https://github.com/liuyib/hexo-theme-stun/" title="Stun" target="_blank" rel="noopener">Stun</a></span><span> v2.6.2</span></div></div></footer><div class="loading-bar" id="loading-bar"><div class="loading-bar__progress"></div></div><div class="back2top" id="back2top"><span class="back2top__icon"><i class="fas fa-rocket"></i></span></div></div><div class="search-mask"></div><div class="search-popup"><span class="search-close"></span><div class="search-input"><input placeholder="搜索文章（支持多关键词，请用空格分隔）"></div><div class="search-results"></div></div><script src="https://cdn.jsdelivr.net/npm/jquery@v3.4.1/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.ui.min.js"></script><script>function initSearch() {
  var isXML = true;
  var search_path = 'search.xml';

  if (!search_path) {
    search_path = 'search.xml';
  } else if (/json$/i.test(search_path)) {
    isXML = false;
  }

  var path = '/' + search_path;
  $.ajax({
    url: path,
    dataType: isXML ? 'xml' : 'json',
    async: true,
    success: function (res) {
      var datas = isXML ? $('entry', res).map(function () {
        // 将 XML 转为 JSON
        return {
          title: $('title', this).text(),
          content: $('content', this).text(),
          url: $('url', this).text()
        };
      }).get() : res;
      var $input = $('.search-input input');
      var $result = $('.search-results');
      // 搜索对象（标题、内容）的权重，影响显示顺序
      var WEIGHT = { title: 100, content: 1 };
      var searchPost = function () {
        var searchText = $input.val().toLowerCase().trim();
        // 根据空白字符分隔关键字
        var keywords = searchText.split(/[\s]+/);
        // 搜索结果
        var matchPosts = [];

        // 有多个关键字时，将原文字整个保存下来
        if (keywords.length > 1) {
          keywords.push(searchText);
        }
        // 防止未输入字符时搜索
        if (searchText.length > 0) {
          datas.forEach(function (data) {
            var isMatch  = false;
            // 没有标题的文章使用预设的 i18n 变量代替
            var title = (data.title && data.title.trim()) || '[ 文章无标题 ]';
            var titleLower = title && title.toLowerCase();
            // 删除 HTML 标签 和 所有空白字符
            var content = data.content && data.content.replace(/<[^>]+>/g, '');
            var contentLower = content && content.toLowerCase();
            // 删除重复的 /
            var postURL = data.url && decodeURI(data.url).replace(/\/{2,}/g, '/');
            // 标题中匹配到的关键词
            var titleHitSlice = [];
            // 内容中匹配到的关键词
            var contentHitSlice = [];

            keywords.forEach(function (keyword) {
              /**
              * 获取匹配的关键词的索引
              * @param {String} keyword 要匹配的关键字
              * @param {String} text 原文字
              * @param {Boolean} caseSensitive 是否区分大小写
              * @param {Number} weight 匹配对象的权重。权重大的优先显示
              * @return {Array}
              */
              function getIndexByword (word, text, caseSensitive, weight) {
                if (!word || !text) {
                  return [];
                };

                var startIndex = 0; // 每次匹配的开始索引
                var index = -1;     // 匹配到的索引值
                var result = [];    // 匹配结果

                if (!caseSensitive) {
                  word = word.toLowerCase();
                  text = text.toLowerCase();
                }

                while((index = text.indexOf(word, startIndex)) !== -1) {
                  var hasMatch = false;
                  // 索引位置相同的关键词，保留长度较长的
                  titleHitSlice.forEach(function (hit) {
                    if (hit.index === index && hit.word.length < word.length) {
                      hit.word = word;
                      hasMatch = true;
                    }
                  });
                  startIndex = index + word.length;
                  !hasMatch && result.push({ index: index, word: word, weight: weight });
                }
                return result;
              }
              titleHitSlice = titleHitSlice.concat(getIndexByword(keyword, titleLower, false, WEIGHT.title));
              contentHitSlice = contentHitSlice.concat(getIndexByword(keyword, contentLower, false, WEIGHT.content));
            });

            var hitTitle = titleHitSlice.length;
            var hitContent = contentHitSlice.length;

            if (hitTitle > 0 || hitContent > 0) {
              isMatch = true;
            }
            if (isMatch) {
              ;[titleHitSlice, contentHitSlice].forEach(function (hit) {
                // 按照匹配文字的索引的递增顺序排序
                hit.sort(function (left, right) {
                  return left.index - right.index;
                });
              });
              /**
              * 给文本中匹配到的关键词添加标记，从而进行高亮显示
              * @param {String} text 原文本
              * @param {Array} hitSlice 匹配项的索引信息
              * @param {Number} start 开始索引
              * @param {Number} end 结束索引
              * @return {String}
              */
              function highlightKeyword (text, hitSlice, start, end) {
                if (!text || !hitSlice || !hitSlice.length) {
                  return;
                }

                var result = '';
                var startIndex = start;
                var endIndex = end;
                hitSlice.forEach(function (hit) {
                  if (hit.index < startIndex) {
                    return;
                  }

                  var hitWordEnd = hit.index + hit.word.length;
                  result += text.slice(startIndex, hit.index);
                  result += '<b>' + text.slice(hit.index, hitWordEnd) + '</b>';
                  startIndex = hitWordEnd;
                });
                result += text.slice(startIndex, endIndex);
                return result;
              }

              var postData = {};
              // 文章总的搜索权重
              var postWeight = titleHitSlice.length * WEIGHT.title + contentHitSlice.length * WEIGHT.content;
              // 标记匹配关键词后的标题
              var postTitle = highlightKeyword(title, titleHitSlice, 0, title.length) || title;
              // 标记匹配关键词后的内容
              var postContent;
              // 显示内容的长度
              var SHOW_WORD_LENGTH = 200;
              // 命中关键词前的字符显示长度
              var SHOW_WORD_FRONT_LENGTH = 20;
              var SHOW_WORD_END_LENGTH = SHOW_WORD_LENGTH - SHOW_WORD_FRONT_LENGTH;

              // 截取匹配的第一个字符，前后共 200 个字符来显示
              if (contentHitSlice.length > 0) {
                var firstIndex = contentHitSlice[0].index;
                var start = firstIndex > SHOW_WORD_FRONT_LENGTH ? firstIndex - SHOW_WORD_FRONT_LENGTH : 0;
                var end = firstIndex + SHOW_WORD_END_LENGTH;
                postContent = highlightKeyword(content, contentHitSlice, start, end);
              } else { // 未匹配到内容，直接截取前 200 个字符来显示
                postContent = content.slice(0, SHOW_WORD_LENGTH);
              }
              postData.title = postTitle;
              postData.content = postContent;
              postData.url = postURL;
              postData.weight = postWeight;
              matchPosts.push(postData);
            }
          });
        }

        var resultInnerHtml = '';
        if (matchPosts.length) {
          // 按权重递增的顺序排序，使权重大的优先显示
          matchPosts.sort(function (left, right) {
            return right.weight - left.weight;
          });
          resultInnerHtml += '<ul>';
          matchPosts.forEach(function (post) {
            resultInnerHtml += '<li><a class="search-results-title" href="' + post.url + '">';
            resultInnerHtml += post.title;
            resultInnerHtml += '</a><div class="search-results-content">';
            resultInnerHtml += post.content;
            resultInnerHtml += '</div></li>';
          });
          resultInnerHtml += '</ul>';
        } else {
          resultInnerHtml += '<div class="search-results-none"><i class="far fa-meh"></i></div>';
        }
        $result.html(resultInnerHtml);
      };
      $input.on('input', searchPost);
      $input.on('keyup', function (e) {
        if (e.keyCode === Stun.utils.codeToKeyCode('Enter')) {
          searchPost();
        }
      });
    }
  });
}

function closeSearch () {
  $('body').css({ overflow: 'auto' });
  $('.search-popup').css({ display: 'none' });
  $('.search-mask').css({ display: 'none' });
}

window.addEventListener('DOMContentLoaded', function () {
  Stun.utils.pjaxReloadLocalSearch = function () {
    $('.header-nav-search').on('click', function (e) {
      e.stopPropagation();
      $('body').css('overflow', 'hidden');
      $('.search-popup')
        .velocity('stop')
        .velocity('transition.expandIn', {
          duration: 300,
          complete: function () {
            $('.search-popup input').focus();
          }
        });
      $('.search-mask')
        .velocity('stop')
        .velocity('transition.fadeIn', {
          duration: 300
        });

      initSearch();
    });
    $('.search-mask, .search-close').on('click', function () {
      closeSearch();
    });
    $(document).on('keydown', function (e) {
      // Escape <=> 27
      if (e.keyCode === Stun.utils.codeToKeyCode('Escape')) {
        closeSearch();
      }
    });
  };

  Stun.utils.pjaxReloadLocalSearch();
}, false);

function safeOpenUrl(url) {
  var newTab = window.open();
  newTab.opener = null;
  newTab.location = url;
}

function extSearch(engine) {
  var engines = {
    google: 'https://www.google.com/search?q=',
    bing: 'https://cn.bing.com/search?q=',
    baidu: 'https://www.baidu.com/s?ie=UTF-8&wd=',
  };
  var host = window.location.host;
  var query = $('.search-input input').val().toLowerCase().trim();
  var uri = engines[engine] + query + ' site:' + host;

  if (query) {
    safeOpenUrl(uri);
  } else {
    Stun.utils.popAlert('warning', '请输入字符');
  }
}

var assistSearchList = window.CONFIG.assistSearch;

if (Array.isArray(assistSearchList)) {
  assistSearchList.forEach(function (name) {
    document.querySelector('.search-btns-item--' + name).addEventListener('click', function () {
      extSearch(name);
    }, false);
  });
}</script><script src="https://cdn.jsdelivr.net/npm/leancloud-storage@latest/dist/av-min.js"></script><script src="https://cdn.jsdelivr.net/npm/valine@latest/dist/Valine.min.js"></script><script>function loadValine () {
  var GUEST_INFO = ['nick', 'mail', 'link'];
  var guest_info = 'nick,mail,link';

  guest_info = guest_info.split(',').filter(function(item) {
    return GUEST_INFO.indexOf(item) > -1;
  });
  new Valine({
    el: '#valine-container',
    appId: 'lxsmJYFBR3TcsTpKPFWSN0HX-gzGzoHsz',
    appKey: 'lW6taHRzBHFtJeWSSzXXMAxH',
    notify: true,
    verify: true,
    placeholder: 'Just go go',
    avatar: 'mp',
    meta: guest_info,
    pageSize: '10' || 10,
    visitor: false,
    recordIP: false,
    lang: '' || 'zh-cn',
    path: window.location.pathname
  });
}

if (false) {
  loadValine();
} else {
  window.addEventListener('DOMContentLoaded', loadValine, false);
}</script><script src="/js/utils.js?v=2.6.2"></script><script src="/js/stun-boot.js?v=2.6.2"></script><script src="/js/scroll.js?v=2.6.2"></script><script src="/js/header.js?v=2.6.2"></script><script src="/js/sidebar.js?v=2.6.2"></script><script type="application/json" src="/search.xml"></script></body></html>